package com.fei.wechat.middlewar.mode.entity.admin;

import java.io.Serializable;

import com.fei.wechat.common.model.entity.BaseEntity;

/**
 * 描述: 系统用户
 * 版权: Copyright (c) 2018 
 * 公司: 飞翔科技 
 * 作者: 张进飞 
 * 版本: 1.0 
 * 创建日期: 2018年4月15日 
 * 创建时间: 下午2:55:19
 */
public class User extends BaseEntity implements Serializable
{
    
    /**
     * 
     */
    private static final long serialVersionUID = 1636744115000486808L;
    
    /**
     * 可用1:可用；0：不可用
     */
    private Integer available;
    
    /**
     * 邮件
     */
    private String email;
    
    /**
     * 登录名
     */
    private String loginName;
    
    /**
     * 用户代码
     */
    private String userCode;
    
    /**
     * 手机号
     */
    private String mobile;
    
    /**
     * 用户名
     */
    private String name;
    
    /**
     * 密码
     */
    private String password;
    
    /**
     * 头像地址
     */
    private String photoUrl;
    
    /**
     * 备注
     */
    private String remark;
    
    /**
     * 性别0:未知；1：男；2：女
     */
    private Integer sex;
    
    /**
     * 电话
     */
    private String tel;
    
    /**    
     * 机构ID
     */
    private Long orgaId;
    
    /**
     * 上级用户ID
     */
    private Long pUserId;
    
    /**
     * 备用审核人
     */
    private Long auditUserId;
    
    /**
     * 审核标识 0不审核，1 一级审核，2 二级审核
     */
    private Integer verifyStatus;
    
    /**
     * 一级审核人
     */
    private Long firstVerifyUser;
    
    /**
     * 二级审核人
     */
    private Long secondVerifyUser;
    
    /**
     * 备用审核人优先开关 0关闭1开启
     */
    private Integer spareStatus;
    
    /**
     * 删除标记1；正常；0：已删除
     */
    private Integer deleteFlag;
    
    public Integer getAvailable()
    {
        return available;
    }
    
    public void setAvailable(Integer available)
    {
        this.available = available;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }
    
    public String getLoginName()
    {
        return loginName;
    }
    
    public void setLoginName(String loginName)
    {
        this.loginName = loginName;
    }
    
    public String getUserCode()
    {
        return userCode;
    }
    
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }
    
    public String getMobile()
    {
        return mobile;
    }
    
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }
    
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public String getPassword()
    {
        return password;
    }
    
    public void setPassword(String password)
    {
        this.password = password;
    }
    
    public String getPhotoUrl()
    {
        return photoUrl;
    }
    
    public void setPhotoUrl(String photoUrl)
    {
        this.photoUrl = photoUrl;
    }
    
    public String getRemark()
    {
        return remark;
    }
    
    public void setRemark(String remark)
    {
        this.remark = remark;
    }
    
    public Integer getSex()
    {
        return sex;
    }
    
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }
    
    public String getTel()
    {
        return tel;
    }
    
    public void setTel(String tel)
    {
        this.tel = tel;
    }
    
    public Long getOrgaId()
    {
        return orgaId;
    }
    
    public void setOrgaId(Long orgaId)
    {
        this.orgaId = orgaId;
    }
    
    public Long getpUserId()
    {
        return pUserId;
    }
    
    public void setpUserId(Long pUserId)
    {
        this.pUserId = pUserId;
    }
    
    public Long getAuditUserId()
    {
        return auditUserId;
    }
    
    public void setAuditUserId(Long auditUserId)
    {
        this.auditUserId = auditUserId;
    }
    
    public Integer getVerifyStatus()
    {
        return verifyStatus;
    }
    
    public void setVerifyStatus(Integer verifyStatus)
    {
        this.verifyStatus = verifyStatus;
    }
    
    public Long getFirstVerifyUser()
    {
        return firstVerifyUser;
    }
    
    public void setFirstVerifyUser(Long firstVerifyUser)
    {
        this.firstVerifyUser = firstVerifyUser;
    }
    
    public Long getSecondVerifyUser()
    {
        return secondVerifyUser;
    }
    
    public void setSecondVerifyUser(Long secondVerifyUser)
    {
        this.secondVerifyUser = secondVerifyUser;
    }
    
    public Integer getSpareStatus()
    {
        return spareStatus;
    }
    
    public void setSpareStatus(Integer spareStatus)
    {
        this.spareStatus = spareStatus;
    }
    
    public Integer getDeleteFlag()
    {
        return deleteFlag;
    }
    
    public void setDeleteFlag(Integer deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }
    
}
